﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>TsLinq - Performance Tests</title>
    <script type="text/javascript" src="Scripts/jquery-2.1.0.min.js"></script>
    <script type="text/javascript" src="src/KeyValuePair.js"></script>
    <script type="text/javascript" src="src/DefaultComparer.js"></script>
    <script type="text/javascript" src="src/Linq.js"></script>
    <script type="text/javascript" src="src/List.js"></script>
    <script type="text/javascript" src="src/Dictionary.js"></script>
    <script type="text/javascript" src="src/TimeSpan.js"></script>
    <script type="text/javascript" src="src/StopWatch.js"></script>
    <script type="text/javascript" src="src/tests/Logger.js"></script>
    <script type="text/javascript" src="src/performance/PerformanceTesterBase.js"></script>
    <script type="text/javascript" src="src/performance/LinqTester.js"></script>
    <script type="text/javascript" src="src/performance/PerformanceTestRunner.js"></script>
    <script type="text/javascript" src="Scripts/linq.js"></script>
    <script type="text/javascript">
        window.onerror = function () {
            alert('An error occured, please see the developer console in chrome for more informations.');
        };
        window.onload = function () {
            var lArea = $('#log');
            var tester = new PerformanceTestRunner(function (msg, data) {
                lArea.html(lArea.html() + '<br/>' + msg);
            });
            tester.runTests();
        };
    </script>
</head>
<body>
    <h1>Performance tests for TsLinq</h1>
    <p>Tests where be done with entries of 10,000,000 numbers.</p>
    <fieldset>
        <legend>Log:</legend>
        <div id="log"></div>
    </fieldset>
</body>
</html>